import { createApp } from 'vue'
import './style.css'
import { createPinia } from 'pinia'
import App from './App.vue'
// 引入pinia
// 引入router
import { router } from './router'

// 创建 Pinia 实例
const pinia = createPinia()

const app = createApp(App)

// 挂载到 Vue 实例
app.use(pinia)
app.use(router)

app.mount('#app')
